/**
 * 
 */
package com.thor.palmmall.rest.product;

import java.math.BigDecimal;
import java.util.Map;

import com.thor.commons.entity.UCN;

/**
 * @author NuoSa
 *
 * @since 1.0
 */
public class AProductChangeLine extends UCN {
  private static final long serialVersionUID = -4243352550958258822L;

  private long version;
  private BigDecimal newPrice = BigDecimal.ZERO;
  private BigDecimal oldPrice = BigDecimal.ZERO;
  private Map<String, String> properties;

  public long getVersion() {
    return version;
  }

  public void setVersion(long version) {
    this.version = version;
  }

  public BigDecimal getNewPrice() {
    return newPrice;
  }

  public void setNewPrice(BigDecimal newPrice) {
    this.newPrice = newPrice;
  }

  public BigDecimal getOldPrice() {
    return oldPrice;
  }

  public void setOldPrice(BigDecimal oldPrice) {
    this.oldPrice = oldPrice;
  }

  public Map<String, String> getProperties() {
    return properties;
  }

  public void setProperties(Map<String, String> properties) {
    this.properties = properties;
  }

}
